 <?php 
		if($publish){
			echo '
			<span title="'._('published').'">
	<a href="javascript:;">
			<img src="'.$this->webroot.'img/backend/tick.png'.'" width="16" height="16" border="0" alt="'._('published').'" onclick="ajax(\'published_'.$id.'\',\''.$this->params['controller'].'/published/'.$id.'/0\');" /></a></span>';
		}
		else{
			echo '
			<span title="'._('unpublished').'">
	<a href="javascript:;">
			<img src="'.$this->webroot.'img/backend/publish_x.png'.'" width="16" height="16" border="0" alt="'._('unpublished').'" onclick="ajax(\'published_'.$id.'\',\''.$this->params['controller'].'/published/'.$id.'/1\');" /></a></span>';
		}
		?>